<?php defined('SYSPATH') or die('No direct access allowed.');

/**
 * Picture
 */
class Model_Picture extends ORM {

	public function count()
	{
		return DB::select(array('COUNT("*")', 'total_count'))
			->from($this->_table_name)
			->execute($this->_db)
			->get('total_count');
	}

} // End Picture

